package com.coderman.infosys.auth.infrast.acl;

import java.util.List;
import com.coderman.infosys.auth.infrast.acl.req.dto.DepartmentQueryDTO;
import com.coderman.infosys.auth.infrast.acl.res.dto.DepartDTO;
import org.apache.dubbo.config.annotation.Reference;
import com.coderman.infosys.user.api.dto.response.DepartmentDTO;


/**
 * @Description:部门查询服务适配器接口
 * @Author:shenshuai
 * @CreateTime:2022-01-02 15:27:38
 * @version v1.0
 */
public interface DepartmentServiceAdapter{
    /**
     *
     * @Description:查询所有有效的部门
     * @return List<DepartDTO>
     */
     List<DepartDTO> queryAllDepartment(DepartmentQueryDTO queryDto);
    /**
     *
     * @Description:查询子部门
     * @return List<DepartDTO>
     */
     List<DepartDTO> queryDepartmentsList(Long pId);
}